@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}

.animate-pop-in {
  animation: popIn 0.4s cubic-bezier(0.26, 0.53, 0.74, 1.48);
}

.animate-pulse {
  animation: pulse 0.4s ease-in-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(.23,1.01,.32,1) both;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s cubic-bezier(.23,1.01,.32,1) both;
}

.animate-pulse-btn {
  animation: pulseBtn 0.3s;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f0f2f5;
  border-radius: 18px;
  margin: 8px 0;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  margin: 0 2px;
  background: #90a4ae;
  border-radius: 50%;
  display: inline-block;
  animation: typing-dot 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.emoji-picker {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  padding: 12px;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  z-index: 1000;
}

.emoji-picker.show {
  display: grid;
  animation: popIn 0.3s ease-out;
}

.emoji-btn {
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.emoji-btn:hover {
  background: #f0f2f5;
} 